/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package models;

import cstAndEnum.SKILL_TYPE;
import java.util.List;
import models.Card.Card;
import models.Skill.Skill;

/**
 *
 * @author Invince
 */
public class CastInfo {
/*----------Attributs-------------------*/
    protected Player source;
    protected List<Player> targetPlayers;
    protected Skill skill;
    protected Card card;
    protected List<Card> targetCards;
    protected SKILL_TYPE skillType;

/*----------Public functions------------*/
/*----------Private functions-----------*/
/*----------Constructor-----------------*/
    public CastInfo(Player source, List<Player> targetPlayers, Skill skill, Card card,List<Card> targetCards,SKILL_TYPE skillType) {
        this.source = source;
        this.targetPlayers = targetPlayers;
        this.skill = skill;
        this.card = card;
        this.skillType=skillType;
        this.targetCards=targetCards;
    }



/*----------Gets and sets---------------*/
    public Card getCard() {
        return card;
    }

    public void setCard(Card card) {
        this.card = card;
    }

    public Skill getSkill() {
        return skill;
    }

    public void setSkill(Skill skill) {
        this.skill = skill;
    }

    public Player getSource() {
        return source;
    }

    public void setSource(Player source) {
        this.source = source;
    }

    public List<Player> getTargetPlayers() {
        return targetPlayers;
    }

    public void setTargetPlayers(List<Player> targets) {
        this.targetPlayers = targets;
    }

    public SKILL_TYPE getSkillType() {
        return skillType;
    }

    public void setSkillType(SKILL_TYPE skillType) {
        this.skillType = skillType;
    }

    public List<Card> getTargetCards() {
        return targetCards;
    }

    public void setTargetCards(List<Card> targetCards) {
        this.targetCards = targetCards;
    }
 
}
